점근 표기법
알고리즘의 시간 복잡도 설명에 사용하는 표기법. 꼴로 쓴다.
On notation
is a set:
Because is a set, we could write "" to indicate that is a member of . Instead, we will usually write "" to express the same notion.1
Minor abusing:
Since any constant is a degree-0 polynomial, we can express any constant function as , or . This latter notation is a minor abuse, however, becuase the expression doesn not indicate what variable is tending to infinity. We shall often use the notation to mean either a constant or a constant function with respect to some variable.
(The real problem is that our ordinary notation for functions does not distinguish functions from values. in Lambda calculus, the parameters to a function are clealy specified: the function could be written as , or even . Adopting a more rigorous notation, howevery, would complicate algebraic manipulations, and so we choose to tolerate the abuse.)1
-notation (Big Theta notation)
정의:1
For a given function \Theta(g(n))$ the set of functions
= { such that there exist positive constants , , and such that for all .
설명:1
A function belongs to the set if there exist positive constants and such that it can be “sandwiched” between and , for sufficiently large . … In other words, for all , the function is equal to to within a constant factor. We say that is an asymptotically tight bound for .